package com.zmj.demo01;

import org.quartz.JobBuilder;
import org.quartz.JobDetail;

public class Demo4 {
    public  static  void  main(String[]args) throws  Exception{
        JobDetail jobDetail= JobBuilder.newJob(MyJob.class)
        .withIdentity("myJob","myGroup").
                usingJobData("stuName","zmj").build();
    }
}
